<!DOCTYPE html>
<html>
    <head>
        <title>Issue 5026: RegExp source isn't shown</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link href="../../_common/testcase.css" type="text/css" rel="stylesheet"/>
        <script type="text/javascript">
        window.addEventListener("load", function()
        {
            console.log(/a/i);
            console.log(/([a-z]){3}/ig);
            console.log(/\*/mg);
        });
        </script>
    </head>
    <body>
        <header>
            <h1><a href="http://code.google.com/p/fbug/issues/detail?id=5026">Issue 5026</a>: RegExp source isn't shown</h1>
        </header>
        <div>
            <section id="description">
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>Enable and switch to the <em>Console</em> panel</li>
                    <li>Reload the page</li>
                </ol>
                <h3>Expected result</h3>
                <ul>
                    <li>
                        &rArr; The console should show three log lines. One with <code>RegExp /a/i</code>,
                        one with <code>RegExp /([a-z]){3}/ig</code> and one with <code>RegExp /\*/gm</code> as output
                    </li>
                </ul>
            </section>
            <footer>Sebastian Zartner, sebastianzartner@gmail.com</footer>
        </div>
    </body>
</html>
